<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   
<title>后台管理 -- Talking</title>
<link rel="stylesheet" href="./static/css/frame.css" />
</head>

<body>
<div id="content">
	<div class="title">全局 » 注册访问</div>
	<div class="main">
		<h3>注册访问</h3>
		<fieldset>
        <form action="access.php" method="post" name="form">
			<p>
				<label>是否开启注册:</label>
				<input type="radio" name="isAllowRegister" value="y" {{if $isAllowRegister eq 'y'}} checked="checked" {{/if}}/>是
				&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="radio" name="isAllowRegister" value="n" {{if $isAllowRegister eq 'n'}} checked="checked" {{/if}} />否
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<span>设置是否允许游客注册成为论坛会员</span>
			</p>
			<p>
				<label>注册文件名:</label>
				<input type="text" class="text-long" name="register_page" value="{{$register_page}}" />
				<span>设置论坛注册页的文件名，默认为“register.php”，修改名称有利于防止</span>
			</p>
			<p>
				<label>新用户注册验证:</label>
				<select name="register_approve" class="select">
					<option value="none" {{if $register_approve eq 'none'}} selected="selected" {{/if}}>无</option>
					<option value="email" {{if $register_approve eq 'email'}} selected="selected" {{/if}}>Email验证</option>
					<option value="artificial" {{if $register_approve eq 'artificial'}} selected="selected" {{/if}}>人工审核</option>
				</select>
				<span>选择相应的方式对注册的新用户进行审核</span>
			</p>
			<p>
				<label>发送欢迎内容:</label>
				<textarea name="register_content" class="textarea">{{$register_content}}</textarea>
				<span>用户验证成功后，系统将向该用户邮箱发送欢迎信息</span>
			</p>
			<p>
				<label>显示贴吧服务条款:</label>
				<input type="radio" name="rule" value="y" {{if $rule eq 'y'}} checked="checked" {{/if}} />是
				&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="radio" name="rule" value="n" {{if $rule eq 'n'}} checked="checked" {{/if}} />否
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<span>新用户注册时显示网站服务条款</span>
			</p>
			<p>               
				<input type="submit" class="button_submit" name="submit" value="提交" />
                <span>{{$tip}}</span>
			</p>
        </form>
		</fieldset>
	</div>
</div>
</body>
</html>
